 <!DOCTYPE html>
 <html lang="en">
 <head>
 	<meta charset="UTF-8">
 	<title>比赛</title>
 </head>
 <body>
 	<table width="400px" cellspacing="0" border="1px">
 		<tr>
 			<th>球队一</th>
 			<th>比分</th>
 			<th>球队二</th>
 		</tr>
 		
 			{foreach from=$res item=v}
 			<tr>
             <td><a href="index.php?m=home&c=team&a=teamlist&id={$v['teamone']}">{$v['tm1']}</a></td>
             <td>{$v['score']}</td>
             <td><a href="index.php?m=home&c=team&a=teamlist&id={$v['teamtwo']}">{$v['tm2']}</a></td>
             </tr>
 			{/foreach}
 		
 		

 	</table>
 </body>
 </html>